import uvicorn
from app.core import create_app
from app.config import get_settings

# 容器运行入口
app = create_app()

if __name__ == '__main__':
    settings = get_settings()
    uvicorn.run(
        'main:app', 
        host = settings.bind_ip, 
        port = settings.bind_port, 
        reload = settings.autoload
    )
